package com.zerowidth.moc.web.controller.service;

import com.zerowidth.db.bean.AppConfigBean;
import com.zerowidth.db.bean.NoticeBean;
import com.zerowidth.db.bean.VersionBean;
import com.zerowidth.moc.web.resp.ResultBean;
import org.springframework.http.ResponseEntity;

import jakarta.servlet.http.HttpServletRequest;
import java.util.List;

public interface VersionService {

    ResponseEntity<ResultBean<VersionBean>> getLatestVersion(String appVersionName, String app_channel, String currentVersion);

    ResponseEntity<ResultBean<List<AppConfigBean>>> getAppConfigData(String app_channel, HttpServletRequest request, boolean force_update);

    ResponseEntity<ResultBean<List<NoticeBean>>> getNoticeList(String versionName);

}
